package com.ushio.gougouwangguo.entity.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("battle_log")
// 战斗日志
public class BattleLog {
    //战斗日志id
    @TableId(value = "battle_log_id",type = IdType.AUTO)
    private Long battleLogId;
    //战斗类型
    @TableField("battle_type")
    private Byte battleType;
    //狗狗id
    @TableField("dog_character_id")
    private Long dogCharacterId;
    //狗狗血量
    @TableField("dog_blood_bar")
    private Integer dogBloodBar;
    //怪物id
    @TableField("monster_id")
    private Long monsterId;
    //怪物血量
    @TableField("monster_blood_bar")
    private Integer monsterBloodBar;
    //伤害值
    @TableField("damage_value")
    private Integer damageValue;
    //谁攻击
    @TableField("who_is_the_attacker")
    private byte whoIsTheAttacker;
    //谁攻击
    @TableField("adventure_log_id")
    private Long adventureLogId;
    //类别
    @TableField("category")
    private Long category;
    //顺序
    @TableField("sequence")
    private Integer sequence;
    //创建时间
    @TableField("create_time")
    private Date createTime;
    //修改时间
    @TableField("update_time")
    private Date updateTime;
    //创建人
    @TableField("create_user")
    private Long createUser;
    //修改人
    @TableField("update_user")
    private Long updateUser;
    //是否启用1是删除0是启用
    @TableField("remove")
    private boolean remove;

}
